#include "mainwindow.h"
#include <QApplication>
#include "mainui.h"
#include "aes_gcm.h"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    MainWindow w;
    if(argc == 3)
    {
        w.setip(argv);
    }
    else if(argc != 1)
    {
        printf("error");
        return a.exec();
    }
    w.show();

    return a.exec();
}
